@mixin clearfix
{
    zoom: 1;

    &:after
    {
        content: "";
        height: 0;
        clear: both;
        display: block;
    }
}

@mixin linear-gradient($color1, $color2, $color3, $color4)
{
    background: $color1; /* Old browsers */
    background: -moz-linear-gradient(top,  $color1 0%, $color2 20%, $color3 30%, $color4 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,$color1), color-stop(20%,$color2), color-stop(30%,$color3), color-stop(100%,$color4)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  $color1 0%,$color2 20%,$color3 30%,$color4 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  $color1 0%,$color2 20%,$color3 30%,$color4 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  $color1 0%,$color2 20%,$color3 30%,$color4 100%); /* IE10+ */
    background: linear-gradient(to bottom,  $color1 0%,$color2 20%,$color3 30%,$color4 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#{$color1}', endColorstr='#{$color4}',GradientType=0 ); /* IE6-9 */
}